Skip to main content

GetSHXTextFromStyle

Unit: SHX.pas

Description​

Returns the set of TsgSHXVertex basing on text string to SHX Font text string with predefined by the ASHXStyles and PStyle parameters.

ParametersDescription
ASHXStylesThe instance of the TsgSHXFontList object
PStyleDefines the converting style
TextThe object of the sgRawByteString type
WideTextThe wide text string
CodePageThe code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009.
PolyThe list of the SHX Font text string
AboveThe above value of the SHX Font defined in Font
BelowThe below value of the SHX Font defined in Font
Left, Bottom, Right, TopThe borders of the real surrounding rectangle

Returns:

ValueDescription
PolyThe set of vertexes of the converted SHX Font text string
Above, BelowThe above and below parameters of the SHX Font defined in Font
Left, Bottom, Right, TopThe border rectangle of the converted SHX Font text string